<%@page import="java.util.*"
import="paket.*" %>
<%
	MainModel model = (MainModel) session.getAttribute("MainModel");
if(model==null){
	model = new MainModel();
	session.setAttribute("MainModel", model);
}
%>

<%String str = request.getParameter("UserName");

session.setAttribute("sessUserName", request.getParameter("Password"));%>
Welcome to <%= session.getAttribute( "sessUserName" ) %>
<% if (session.getAttribute("sessUserName").equals("")){%>
<a href="login.jsp"><b>Login </b></a>
<%}
else{%>
<a href="logout.jsp"><b>Logout</b></a>
<%}
%>

